<template>
  <div id="app">
	<Footer v-show="myShow"></Footer>
    <router-view/>
  </div>
</template>
<script>
	import Footer from "@/components/Footer.vue"
	export default{
		name:"App",
		data(){
			return{
				myShow:true
			}
		},
		components:{
			Footer
		},
		watch:{
			"$route":{
				handler(value){
					this.myShow=value.meta.isShow;
				},
				immediate:true
			}
		}
	}
</script>

<style lang="less">

</style>
